//
//  BaseJsonModel.m
//  RJETGeography
//
//  Created by RJET04 on 2023/8/22.
//

#import "BaseJsonModel.h"

@implementation BaseJsonModel

+ (nullable NSDictionary<NSString *, id> *)modelContainerPropertyGenericClass
{
    return @{@"textjson" : [TextJsonModel class]};
}

@end

@implementation TextJsonModel

+ (nullable NSDictionary<NSString *, id> *)modelContainerPropertyGenericClass
{
    return @{@"currency" : [CurrencyModel class],
             @"index" : [IndexModel class],
             @"PageData" : [PageDataModel class]
    };
}

@end

@implementation CurrencyModel


@end

@implementation IndexModel


+ (nullable NSDictionary<NSString *, id> *)modelContainerPropertyGenericClass
{
    return @{@"list" : [IndexListModel class]};
}

@end

@implementation IndexListModel

+ (nullable NSDictionary<NSString *, id> *)modelCustomPropertyMapper
{
    return @{@"iid" : @"id"};
}


@end


@implementation PageDataModel

+ (nullable NSDictionary<NSString *, id> *)modelCustomPropertyMapper
{
    return @{@"iid" : @"id"};
}


@end
